<?php
header("content-type:text/html;charset=utf-8");
class Controller{
    function __construct()
    {
        @session_start();
    }
    function redirect($url, $msg)
    {
        echo $msg.'<a href="'.$url.'">如果浏览器没有跳转, 点击这里跳转</a>';
        header("refresh:2;url=$url");
    }
}
?>